package io;
/*
 * @auther 顶风少年
 * @mail dfsn19970313@foxmail.com
 * @date 2020-01-08 10:36
 * @notify 读取指定class路径下的文件返回输入流
 * @version 1.0
 */

import java.io.InputStream;

public class Resources {
    public static InputStream getResourceAsStream(String location) {
        return Resources.class.getClassLoader().getResourceAsStream(location);
    }
}
